package br.com.financas.repository.filter;

import br.com.base.persistencia.filter.impl.FiltroImpl;
import br.com.financas.model.Usuario;

/**
 * @author Milton Domingues
 */
public class FiltroUsuario extends FiltroImpl<Usuario> {

	private static final long serialVersionUID = 7226080440451490692L;

	public static String NOME = "nome";
	public static String EMAIL = "email";
	public static String UIFACE = "uiFace";

	private String nome;
	private String email;
	private String uiface;

	public FiltroUsuario() {
		super("u");
	}

	public String getEmail() {
		return this.email;
	}

	public String getNome() {
		return this.nome;
	}

	public String getUiface() {
		return this.uiface;
	}

	@Override
	public void limparCampos() {
		this.setUiface(null);
		this.setNome(null);
		this.setEmail(null);
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public void setUiface(String uiface) {
		this.uiface = uiface;
	}

}
